package org.sxp.common.exception;

/**
 * @author shenxingping
 * @date 2021/01/30
 */
public class ParamException extends AppException  {
    static int error_code = -2;

    public ParamException() {
    }

    public ParamException(int code) {
        super(code);
    }

    public ParamException(String message) {
        super(error_code, message);
    }

    public ParamException(int code, String message) {
        super(code, message);
    }

    public ParamException(Throwable cause) {
        super(cause);
    }

    public ParamException(String message, Throwable cause) {
        super(error_code, message, cause);
    }

    public ParamException(int code, String message, Throwable cause) {
        super(code, message, cause);
    }
}
